package com.cornerstone.tcmsmap 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Jiang Hongfei <jianghongfei@gmail.com>
	 */
	public class ModeChangedEvent extends Event 
	{
		public static const MODE_CHANGED:String = "MODE_CHANGED";

		private var _isInEditMode:Boolean;
		
		public function ModeChangedEvent(type:String, isInEditMode:Boolean, bubbles:Boolean=false, cancelable:Boolean=false) 
		{
			super(type, bubbles, cancelable);
			_isInEditMode = isInEditMode;
		}
		
		public function get isInEditMode():Boolean 
		{
			return _isInEditMode;
		}
	}

}